package com.example.user_module.login;

import com.example.user_module.dao.UserEntity;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface ApiService {
//    user/insert?avatar=weew&expires_time=123&followCount=0&likeCount=0&name=ww&qqOpenId=ww&topCommentCount=0
    @GET("user/insert")
    Observable<UserInfoEntity>requestInsert(@Query("avatar")String avatar,
                                        @Query("expires_time")long expires_time,
                                        @Query("followCount")long followCount,
                                        @Query("likeCount")long likeCount,
                                        @Query("name")String name,
                                        @Query("qqOpenId")String qqOpenId,
                                        @Query("topCommentCount")long topCommentCount);
}
